package common

import "runtime"

const Platform_Android = "android"
const Platform_Other = "other"

func GetPlatform() string {

	goos := runtime.GOOS
	goarch := runtime.GOARCH

	if goos == "android" && goarch == "arm64" {
		return Platform_Android
	}
	return Platform_Other
}

func IsAndroid() bool {
	return GetPlatform() == Platform_Android
}
